package com.jiyun.jiyunmall.product.dao;

import com.jiyun.jiyunmall.common.dao.BaseDao;
import com.jiyun.jiyunmall.product.dto.SpuItemAttrGroupVo;
import com.jiyun.jiyunmall.product.entity.AttrGroupEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性分组
 *
 * @author boge 71164376@qq.com
 * @since 1.0.0 2022-07-12
 */
@Mapper
public interface AttrGroupDao extends BaseDao<AttrGroupEntity> {

    List<SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(@Param("spuId") Long spuId, @Param("catalogId") Long catalogId);

}